	.arch armv8-a
	.file	"switch.c"
	.text
	.section	.rodata
	.align	3
.LC0:
	.string	"value=%d!\n"
	.text
	.align	2
	.global	main
	.type	main, %function
main:
	stp	x29, x30, [sp, -48]!
	mov	x29, sp
	str	w0, [sp, 28]
	str	x1, [sp, 16]
	bl	rand
	mov	w1, w0
	mov	w0, 26215
	movk	w0, 0x6666, lsl 16
	smull	x0, w1, w0
	lsr	x0, x0, 32
	asr	w2, w0, 1
	asr	w0, w1, 31
	sub	w2, w2, w0
	mov	w0, w2
	lsl	w0, w0, 2
	add	w0, w0, w2
	sub	w0, w1, w0
	str	w0, [sp, 40]
	ldr	w0, [sp, 40]
	cmp	w0, 0
	beq	.L2
	ldr	w0, [sp, 40]
	cmp	w0, 1
	beq	.L3
	b	.L7
.L2:
	mov	w0, 10
	str	w0, [sp, 44]
	b	.L5
.L3:
	mov	w0, 20
	str	w0, [sp, 44]
	b	.L5
.L7:
	mov	w0, 50
	str	w0, [sp, 44]
	nop
.L5:
	ldr	w1, [sp, 44]
	adrp	x0, .LC0
	add	x0, x0, :lo12:.LC0
	bl	printf
	mov	w0, 0
	ldp	x29, x30, [sp], 48
	ret
	.size	main, .-main
	.ident	"GCC: (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0"
